package com.gengzp.common.model.user.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.Serializable;

/**
 * @ClassName LoginSysUserReq
 * @Description 用户登录请求实体
 * @Author gengzp
 * @Date 2025/9/8 19:21
 */
@Data
@ApiModel(description = "用户登录请求实体")
public class LoginSysUserReq implements Serializable {

    private static final Logger logger = LoggerFactory.getLogger(LoginSysUserReq.class);

    /**
     * 用户账号
     */
    @NotBlank(message = "用户账号不能为空")
    @ApiModelProperty(value = "用户账号", required = true)
    private String userAccount;

    /**
     * 用户密码
     */
    @NotBlank(message = "用户密码不能为空")
    @ApiModelProperty(value = "用户密码", required = true)
    private String userPassword;

    /**
     * 客户端类型
     */
    @NotNull(message = "客户端类型不能为空")
    @ApiModelProperty(value = "客户端类型", required = true)
    private Integer clientType;

}
